﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Types
{
    [Serializable]
    public class CourseType
    {
        public int id { get; private set; }
        public string name { get; private set; }
        public string code { get; private set; }
        public int year { get; private set; }

        public CourseType(int id, string name, string code, int year)
        {
            this.id = id;
            this.name = name;
            this.code = code;
            this.year = year;
        }
    }
}
